#include <iostream>


using namespace  std;


int main()
{

	int n = 0;

	int m = 0;
	cin >> n;

	m = (n + 1)*n;
	cout << m;
	


	return 0;
}